<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addmedicineinfo.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<%String ctx =request.getContextPath(); 
	  request.setAttribute("ctx",ctx);
	%>
	<link rel="stylesheet" type="text/css" href="${ctx }/css/styles.css">
	<script type="text/javascript" src="${ctx}/js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="${ctx}/js/calendar.js"></script> 
  </head>
  <body>
   <div class="div1">
		<table width="100%" cellpadding="0" cellspacing="0" border="0"
			align="center">
			<tr>
				<td class="td_title1">
						.当前位置
					&gt;&gt; 药品信息管理
					&gt;&gt; 修改药品信息
				
				</td>
			</tr>
			<tr>
				<td bgcolor="#FFFFFF" height="50">
					<br>
					  
						
						<form action="editsavemedicine.action" method="post">
						<table border="0" align="center" width="500" cellpadding="0"  cellspacing="0">
						 
							<tr>
								<td align="left">
								药品编码:
								</td>
								<td align="left">
								 <input type="hidden" name="medicineid" value="${meInfo.medicineId }"/>
								<input type="text" name="" value="${meInfo.medicineCode }" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td align="left">
								药品名称:
								</td>
								<td align="left">
								 <input type="text" value="${meInfo.medicineName}" name="medicinename"/>
								</td>
							</tr>
							<tr>
								<td align="left">
								厂商&nbsp;&nbsp;:
								</td>
								<td align="left">
								 <input type="text" value="${meInfo.medicineFactory }" name="factory" />
								</td>
							</tr>
							<tr>
								<td align="left">
								厂家 地址:
								</td>
								<td align="left">
								<input type="text" value="${meInfo.medicineFactoryAddress}" name="factoryAdd"/>
								</td>
							</tr>
							<tr>
								<td align="left">
								药品描述:
								</td>
								<td align="left">
								<input type="text" value="${meInfo.medicineDesc}" name="desc"/>
								</td>
							</tr>
							<tr>
								<td align="left">
								价格:
								</td>
								<td align="left">
								<input type="text" name="price" value="${meInfo.medicinePrice}">
								</td>
							</tr>
							<tr>
								<td align="left">
								登记时间:
								</td>
								<td align="left">
								<input type="text" value="${meInfo.buyTime}" readonly="true">
								</td>
							</tr>
							<tr>
								<td align="left">
								所属类别:
								</td>
								<td align="left">
								<SELECT>
								<option selected="selected" value="${meInfo.medicineCategory}">${meInfo.medicineCategory.categoryName}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
								</SELECT>
								
								</td>
							</tr>
							<tr><td colspan="2" align="center">
							<input type="submit" value="确定"/>&nbsp;&nbsp;&nbsp;
							<input type="button" value="返回" onclick="history.back();"/>&nbsp;&nbsp;&nbsp;&nbsp;
							
							</td></tr>
						</table>
				  </form>
				</td>
			</tr>
		</table>
	</div>
  </body>
</html>
